<template>
  <div>
    <heard :topshow="topshow" :cont="cont" />
    <div class="topbox">
      <el-carousel
        :interval="3000"
        arrow="always"
        height="967px"
        style="width: 100%"
      >
        <el-carousel-item v-for="item in banlerimg" :key="item.src">
          <img :src="item.src" class="mig" />
        </el-carousel-item>
      </el-carousel>
    </div>

    <!-- <div class="xiabei">
      <div class="wenzi">
        <h1>深耕基础平台建设，重点突破以AI赋能中国智造</h1>
        重庆六客会科技有限公司是一家在深耕基础平台建设的基础上，专注于计算机视觉研发、人工智能算法与大数据以及相关应用的人工智能企业，致力于为行业客户提供领先的AI算法与AI视觉解决方案。依托人脸识别、物体检测、工业视觉、图像检索等算法，实现AI+工业、AI+生活、AI+商业等领域的落地应用。其中，人工智能科技针对工厂提供的智慧工厂融合平台方案在落地可行性方面已具备竞争优势。
        AI+智慧工业，通过AI技术，解决工业领域10多年痛点
        <br />
        全新全意地为企业提供便捷、安全、稳定的人工智能服务
      </div>
      <div class="flxc">
        <div class="boxz" v-for="(item, index) in mood.midbox" :key="index">
          <div class="flxc mar">
            <img :src="item.icon" class="icon2" />
            <div>{{ item.title }}</div>
          </div>
          <p class="mink">{{ item.cont }}</p>
        </div>
      </div>
      <div class="center">
        <div class="link-btn">
          <div class="flx curros" @click="tointro">
            <div>了解更多</div>
            <img src="../static/icon_common_right.png" alt="" class="icon2" />
          </div>
        </div>
      </div>
    </div> -->
    <div class="sidayoushi">
      <div class="item_title">
        <h1>四大优势</h1>
        <div style="text-align: center; margin-bottom: 50px">
          根植于深厚的工业自动化沃土，融合先进的工业物联网技术，面向工业智能制造，致力于打造互联网时代的工业自动化产品，提供数字化工厂整体解决方案。
        </div>
      </div>
      <div style="width: 80%; margin-left: 10%">
        <el-row>
          <el-col :span="2"> </el-col>
          <el-col :span="6" v-for="item in icons" :key="item.icon">
            <div style="display: flex; justify-content: center">
              <div
                style="
                  border-radius: 50%;
                  color: black;
                  text-align: center;
                  align-items: center;
                  width: 320px;
                  height: 320px;
                  display: flex;
                  flex-direction: column;
                  justify-content: center;
                  background-color: #fff;
                "
              >
                <img :src="item.icon" alt="加载失败" />
                <h3 style="margin: 10px 0; font-weight: 500">
                  {{ item.title }}
                </h3>
                <p style="color: #9e9e9e">{{ item.msg }}</p>
              </div>
            </div>
          </el-col>
        </el-row>
      </div>
    </div>
    <div id="home-product-wrap">
      <div class="product-content content-w">
        <div class="product-header">
          <p class="head-title">我们提供业界领先的人工智能业务整体解决方案</p>
          <p class="head-desc">优质产品和服务使越来越多的企业选择信赖六客会</p>
        </div>
        <div class="product-main">
          <div class="main-intro">
            <img class="intro-bg" src="../static/image170.png" alt="" />
            <div class="intro-text">
              <p class="intro-title">六客会</p>
              <p class="intro-slogan">
                六客会科技人工智能目前拥有40多个自主产权人工智能机器视觉算法库，可广泛应用于人脸识别、智慧工厂、国家军事、自动驾驶、城市大脑、智能政务、智能安防等诸多人工智能场景。
              </p>
              <p class="intro-desc">{{ midtext }}</p>
            </div>
          </div>
          <div class="main-list" style="margin-top: 30px">
            <ul class="xixiul">
              <li
                class="active"
                v-for="(item, index) in mood.introduce"
                :key="index"
                @click="toproduct(index)"
              >
                <div class="list-text" @mouseenter="mouseover(item)">
                  <p class="list-title">{{ item.title }}</p>
                  <p class="list-desc">{{ item.cont }}</p>
                </div>
                <a class="list-link">
                  <img src="../static/icon_common_right.png" alt="" />
                </a>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </div>
    <div class="home-stion-box" style="position: static; display: block">
      <div>
        <div class="solution-header">
          <p class="head-title1">支持全行业的解决方案</p>
          <p class="head-desc1">丰富实践积累，高效的解决方案，提供一站式服务</p>
        </div>
        <div class="solutionbox">
          <div
            :class="iconts == i ? 'solution-menus' : 'solution-menus1'"
            v-for="(item, i) in mood.service"
            :key="item.title"
            @click="service(i)"
          >
            {{ item.title }}
          </div>
        </div>
        <div class="cont-item" name="schy">
          <div>
            <p class="item-title">{{ mood.service[iconts].title }}</p>
            <div class="item-text">
              <p>{{ mood.service[iconts].cont }}</p>
            </div>
          </div>
        </div>
      </div>
    </div>
    <footers />
  </div>
</template>
<script>
import indexdata from "./inex.data.js";
import heard from "@/components/heard";
import footers from "@/components/footer";
export default {
  components: {
    heard,
    footers,
  },
  data() {
    return {
      icons: [
        {
          icon: require("../static/icon1.png"),
          title: "一体化的解决方案",
          msg: "软硬件结合，本地与远程结合",
        },
        {
          icon: require("../static/icon2.png"),
          title: "智慧运维",
          msg: "远程设备管理，移动客户端",
        },
        {
          icon: require("../static/icon3.png"),
          title: "个性化服务",
          msg: "产品可个性化、定制化",
        },
        {
          icon: require("../static/icon4.png"),
          title: "高性价比",
          msg: "真材实料、物超所值",
        },
      ],
      banlerimg: [
        {
          src: require("../static/banner01.png"),
        },
        {
          src: require("../static/banner02.png"),
        },
      ],
      cont: 0,
      activeName: "second",
      topshow: false,
      mood: indexdata,
      midtext: indexdata.introduce[0].cont,
      iconts: 0,
    };
  },
  mounted() {
    window.addEventListener("scroll", this.scrollHandle);
  },
  methods: {
    tosolve() {
      // this.$router.push("/solve");
    },
    toproduct(e) {
      this.$router.push({ path: "/product", query: { select: e } });
    },
    tointro() {
      this.$router.push("/introduction");
    },
    service(e) {
      this.iconts = e;
    },
    mouseover(d) {
      //移进显示
      this.midtext = d.cont;
    },
    scrollHandle(e) {
      let top = e.srcElement.scrollingElement.scrollTop; // 获取页面滚动高度
      if (top >= 500) {
        this.topshow = true;
      } else {
        this.topshow = false;
      }
    },
    handleClick(tab, event) {
      console.log(tab, event);
    },
    qiehuan(e) {
      this.cont = e;
    },
  },
};
</script>
<style>
@import url("./reset.css");
.el-carousel__indicators--horizontal {
  bottom: 10px;
}
</style>
<style scoped>
.sidayoushi {
  background-image: url("../static/banner2.png");
  padding: 60px 0;
  background-size: 100% 100%;
}
.sidayoushi > div > div:last-child {
  color: #666;
}
.curros {
  cursor: pointer;
}

.item-icon {
  background: #fff;
  width: 32px;
  padding: 16px;
  border-radius: 50%;
  margin-right: 8px;
}

.item-text1 {
  text-align: center;
  line-height: 1.5;
  color: #333;
}

.item-value {
  color: #fff;
  font-size: 32px;
}

.item-name {
  color: #fff;
  font-size: 14px;
}

/* products */

#home-product-wrap {
  padding: 60px 0;
  width: 1200px;
  margin-left: 18%;
}

#home-product-wrap .product-header {
  text-align: center;
  line-height: 1.5;
  padding-bottom: 60px;
}

#home-product-wrap .product-header .head-title {
  font-size: 40px;
  color: #333;
}

#home-product-wrap .product-header .head-desc {
  font-size: 18px;
  color: #666;
}

#home-product-wrap .product-main {
  position: relative;
  padding-bottom: 20px;
  min-height: 600px;
}

#home-product-wrap .product-main .main-intro {
  width: 504px;
  position: relative;
  z-index: 10;
  background: #6687b6;
}

#home-product-wrap .product-main .intro-bg {
  width: 504px;
  height: 609px;
  display: block;
}

#home-product-wrap .product-main .intro-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 150px 70px 0;
  box-sizing: border-box;
  color: #fff;
  line-height: 1.5;
}

#home-product-wrap .product-main .intro-text .intro-title {
  font-size: 28px;
}

#home-product-wrap .product-main .intro-text .intro-slogan {
  font-size: 18px;
  line-height: 1.5;
  margin: 40px 0;
  position: relative;
}

#home-product-wrap .product-main .intro-text .intro-slogan::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 2px;
  background: #ffb62a;
  bottom: -10px;
  left: 0;
}

#home-product-wrap .product-main .intro-text .intro-desc {
  font-size: 14px;
  line-height: 1.5;
}

#home-product-wrap .product-main .main-list {
  position: absolute;
  width: 80%;
  top: 40px;
  right: 0;
  box-sizing: border-box;
  border: 1px solid #e5e5e5;
  z-index: 9;
  border-right: 5px solid #e5e5e5;
}

#home-product-wrap .product-main .main-list li {
  height: 120px;
  border-bottom: 1px solid #e5e5e5;
  padding-left: 33%;

  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

#home-product-wrap .product-main .main-list li:last-child {
  border-bottom: 0;
}

#home-product-wrap .product-main .main-list li:hover .list-title {
  color: #5486fe;
}

#home-product-wrap .product-main .main-list li:hover .list-link {
  /* display: block; */
  opacity: 1;
}

#home-product-wrap .product-main .main-list .list-text {
  max-width: calc(100% - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#home-product-wrap .product-main .main-list .list-title {
  font-size: 24px;
  color: #333;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  margin: 0 0 3px;
}

#home-product-wrap .product-main .main-list .list-desc {
  font-size: 16px;
  color: #666;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-all;
}

#home-product-wrap .product-main .main-list .list-link {
  width: 120px;
  min-width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #5486fe;
  color: #fff;
  font-size: 20px;
  /* display: none; */
  transition: 100ms;
  opacity: 0;
}

.xixiul {
  padding: 0;
  margin: 0;
}

.head-title {
  font-size: 40px;
  color: #333;
  margin: 0 auto 4px;
}

.head-desc {
  font-size: 18px;
  color: #666;
  margin: 0 auto;
}

.product-header {
  margin-top: 60px;
  text-align: center;
}

.mink {
  font-size: 14px;
  line-height: 20px;
  margin-top: 8px;
  width: 222px;
  margin: 0 auto;
}

.icon2 {
  width: 35px;
}

.boxz:hover {
  transform: scale(1.1);
  transition: all 0.3s;
}

.boxz {
  width: 288px;
  height: 210px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  cursor: default;
  margin-left: 20px;
  margin-top: 20px;
}

.wenzi {
  text-align: center;
  font-size: 24px;
  line-height: 44px;
  color: #333;
  padding-top: 50px;
}

.xiabei {
  width: 100%;
  height: 690px;
  background: url("../static/backImage1.png");
  background-size: 100% 100%;
  margin-top: -10px;
}

.mar {
  margin: 20px;
  font-size: 20px;
  font-weight: 500;
  color: #333;
}

.flx {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flxc {
  display: flex;
  align-items: center;
  justify-content: center;
}

.samll1 {
  padding-bottom: 10px;
  border-bottom: 5px solid;
  margin: 0 20px;
}

.small {
  color: #5486fe;
  padding-bottom: 10px;
  border-bottom: #5486fe 3px solid;
  margin: 0 20px;
}

.mig {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* height: 967px; */
}

.xz {
  font-size: 30px;
}

.link-btn {
  color: #fff;
  background: #5486fe;
  padding: 10px 40px;
  border-radius: 50px;
  font-family: PingFangSC-Regular, PingFang SC;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

.link-btn1 {
  color: #fff;
  background: #5486fe;
  padding: 10px 40px;
  border-radius: 50px;
  font-family: PingFangSC-Regular, PingFang SC;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  margin-left: 56%;
}

.center {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

/* solutions */
.home-stion-box {
  width: 100%;
  height: 540px;
  background: url("../static/backImage2.png");
  background-size: 100% 100%;
  padding-top: 60px;
}

.solution-header {
  margin-left: 50px;
  text-align: center;
  line-height: 1.5;
  color: #fff;
}

.head-title1 {
  font-size: 40px;
  margin: 0;
}

.head-desc1 {
  font-size: 18px;
  opacity: 0.8;
  margin: 0;
}

.solution-menus {
  width: 240px;
  height: 48px;
  line-height: 48px;
  padding: 0 30px;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.5);
}

.solution-menus1 {
  width: 240px;
  height: 48px;
  line-height: 48px;
  padding: 0 30px;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
}

.solutionbox {
  margin-left: 20%;
  margin-top: -80px;
}

.main-content {
  padding: 67px 60px;
  flex: 1;
}

.cont-item {
  height: 200px;
  margin-left: 40%;
  margin-top: -10%;
}

.item-title {
  font-size: 32px;
  line-height: 2;
  position: relative;
  color: #fff;
}

.item-title::after {
  content: "";
  width: 94px;
  height: 4px;
  background: #3673ff;
  position: absolute;
  top: 100%;
  left: 0;
}

.item-text {
  font-size: 16px;
  line-height: 22px;
  opacity: 0.9;
  margin: 30px 0;
  color: #fff;
  width: 780px;
}

.item-text pre {
  white-space: pre-wrap !important;
  word-wrap: break-word !important;
  /* *white-space: normal !important; */
}

.dibosg {
  width: 400px;
  height: 110px;
  background-color: #5486fe;
}

.dibosg1 {
  width: 400px;
  height: 110px;
  background-color: #3a65cd;
}

.absi {
  margin-top: -3%;
}
.item_title h1 {
  margin-bottom: 4px;
  font-size: 44px;
  color: #333;
  line-height: 1.5;
  text-align: center;
  font-weight: normal;
}
</style>
